﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Vegetable.Model
{
    /// <summary>
    /// 角色表T_Role查询条件
    /// </summary>
    public class RoleQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 角色编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 名称
        /// </summary>
        public string RoleName{ get;set;}
        /// <summary>
        /// 角色类型
        /// </summary>
        public string RoleType{ get;set;}
        /// <summary>
        /// 状态
        /// </summary>
        public string Status{ get;set;}
        /// <summary>
        /// 排序
        /// </summary>
        public string Sort{ get;set;}
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark{ get;set;}
    }

    public class RoleAuthorized
    {
        public string RoleId { get; set; }
        public string[] MenuIds { get; set; }
    }

    public class RoleModel
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色类型
        /// </summary>
        public string RoleType { get; set; }
        public string RoleTypeName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }
        public string StatusName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public string Sort { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
